<template>
  <svg
    xmlns="http://www.w3.org/2000/svg"
    :viewBox="viewBox"
    fill="none"
  >
    <path
      d="M119.496 15.773V10.8036H111.14L106.236 15.773H119.496Z"
      :fill="colorComputed"
    />
    <path
      d="M128.911 3.44946H118.437L113.494 8.41895H128.911V3.44946Z"
      :fill="colorComputed"
    />
    <path
      d="M101.372 20.7428L103.883 18.1984H112.356V23.1679H101.372V20.7428Z"
      :fill="colorComputed"
    />
    <path
      d="M103.216 13.349H108.629L113.572 8.37947H103.216V13.349Z"
      :fill="colorComputed"
    />
    <path
      d="M97.2925 20.7424L101.372 20.7428L106.236 15.773L97.2925 15.7729V20.7424Z"
      :fill="colorComputed"
    />
    <path
      d="M118.437 3.44946L115.926 5.99329H99.9212V1.0238H118.437L118.437 3.44946Z"
      :fill="colorComputed"
    />
    <path
      d="M13.2653 19.8675H5.57655L4.24277 23.207H0.869141L7.96947 6.35049H10.9116L18.012 23.207H14.5991L13.2653 19.8675ZM12.2062 17.2038L9.42093 10.3261L6.63572 17.2038H12.2062Z"
      :fill="colorComputed"
    />
    <path
      d="M64.8507 12.5531C65.8315 11.0821 68.3029 10.9231 69.3228 10.9231V13.7855C68.0675 13.7855 66.8122 13.8253 66.0668 14.3819C65.3215 14.9384 64.9292 15.6938 64.9292 16.6082V23.2076H61.8694V10.9231H64.8115L64.8507 12.5531Z"
      :fill="colorComputed"
    />
    <path
      d="M74.0699 10.9232H71.0101V23.2077H74.0699V10.9232Z"
      :fill="colorComputed"
    />
    <path
      d="M74.0699 5.43595H71.0101V9.09347H74.0699V5.43595Z"
      :fill="colorComputed"
    />
    <path
      d="M89.2509 5.43595V23.2068H86.3088L86.2303 21.3383C85.7988 21.9744 85.2496 22.4912 84.5827 22.8888C83.9158 23.2466 83.092 23.4454 82.1506 23.4454C81.3268 23.4454 80.5422 23.2863 79.8753 23.008C79.1692 22.69 78.5415 22.2924 78.0316 21.7359C77.5216 21.1793 77.0901 20.5034 76.8155 19.7481C76.5017 18.9927 76.384 18.1181 76.384 17.1639C76.384 16.2098 76.5409 15.3351 76.8155 14.54C77.1293 13.7449 77.5216 13.0691 78.0316 12.5125C78.5415 11.9559 79.1692 11.5186 79.8753 11.2006C80.5814 10.8825 81.3268 10.7235 82.1506 10.7235C83.092 10.7235 83.8766 10.8825 84.5435 11.2403C85.2104 11.5981 85.7596 12.0752 86.1911 12.751V5.47569H89.2509V5.43595ZM82.8175 20.7817C83.8374 20.7817 84.6219 20.4239 85.2496 19.7481C85.8772 19.0722 86.1911 18.1578 86.1911 17.0446C86.1911 15.9315 85.8772 15.0569 85.2496 14.3413C84.6219 13.6654 83.8374 13.3076 82.8175 13.3076C81.8367 13.3076 81.0129 13.6654 80.4245 14.3413C79.7968 15.0171 79.483 15.9315 79.483 17.0446C79.483 18.1578 79.7968 19.0324 80.4245 19.7083C81.0522 20.4239 81.8367 20.7817 82.8175 20.7817Z"
      :fill="colorComputed"
    />
    <path
      d="M35.7046 13.7058H28.1335V16.3695H32.4487C32.331 17.7212 31.821 18.7548 30.958 19.5897C30.095 20.3848 28.9965 20.7824 27.5843 20.7824C26.7998 20.7824 26.0544 20.6234 25.4268 20.3451C24.7599 20.0668 24.2107 19.6692 23.7399 19.1126C23.2692 18.5958 22.9162 17.9597 22.6416 17.2043C22.367 16.449 22.2493 15.6539 22.2493 14.7395C22.2493 13.8251 22.367 13.03 22.6416 12.2746C22.8769 11.5192 23.2692 10.9229 23.7399 10.3663C24.2107 9.84949 24.7599 9.45194 25.4268 9.13389C26.0936 8.8556 26.7998 8.69657 27.6236 8.69657C29.2712 8.69657 30.5265 9.09412 31.3895 9.88924L33.4294 7.82196C31.8995 6.62928 29.938 5.99317 27.6236 5.99317C26.329 5.99317 25.1522 6.19196 24.093 6.62928C23.0338 7.06659 22.1316 7.62316 21.3862 8.37852C20.6409 9.13388 20.0525 10.0483 19.6602 11.1217C19.2679 12.1951 19.0718 13.3878 19.0718 14.6599C19.0718 15.9321 19.2679 17.1248 19.6994 18.1982C20.1309 19.2716 20.6801 20.186 21.4255 20.9414C22.1708 21.6968 23.0731 22.2931 24.1322 22.6906C25.1914 23.128 26.3683 23.3268 27.6236 23.3268C28.8789 23.3268 30.0165 23.128 31.0364 22.6906C32.0564 22.2533 32.9194 21.6968 33.6255 20.9414C34.3316 20.186 34.8808 19.2716 35.2731 18.1982C35.6654 17.1248 35.8615 15.9321 35.8615 14.6599V14.1431C35.7438 14.0636 35.7046 13.8648 35.7046 13.7058Z"
      :fill="colorComputed"
    />
    <path
      d="M59.6337 13.7058H52.0627V16.3695H56.3778C56.2601 17.7212 55.7501 18.7548 54.8871 19.5897C54.0241 20.3848 52.9257 20.7824 51.5135 20.7824C50.7289 20.7824 49.9836 20.6234 49.3559 20.3451C48.689 20.0668 48.1398 19.6692 47.6691 19.1126C47.1983 18.5958 46.8453 17.9597 46.5707 17.2043C46.2961 16.449 46.1784 15.6539 46.1784 14.7395C46.1784 13.8251 46.2961 13.03 46.5707 12.2746C46.8061 11.5192 47.1983 10.9229 47.6691 10.3663C48.1398 9.84949 48.689 9.45194 49.3559 9.13389C50.0228 8.8556 50.7289 8.69657 51.5527 8.69657C53.2003 8.69657 54.4556 9.09412 55.3186 9.88924L57.3585 7.82196C55.8286 6.62928 53.8672 5.99317 51.5527 5.99317C50.2582 5.99317 49.0813 6.19196 48.0222 6.62928C46.963 7.06659 46.0607 7.62316 45.3154 8.37852C44.57 9.13388 43.9816 10.0483 43.5893 11.1217C43.1971 12.1951 43.0009 13.3878 43.0009 14.6599C43.0009 15.9321 43.1971 17.1248 43.6286 18.1982C44.0601 19.2716 44.6093 20.186 45.3546 20.9414C46.1 21.6968 47.0022 22.2931 48.0614 22.6906C49.1205 23.128 50.2974 23.3268 51.5527 23.3268C52.808 23.3268 53.9456 23.128 54.9656 22.6906C55.9855 22.2533 56.8485 21.6968 57.5546 20.9414C58.2608 20.186 58.81 19.2716 59.2022 18.1982C59.5945 17.1248 59.7907 15.9321 59.7907 14.6599V14.1431C59.673 14.0636 59.6337 13.8648 59.6337 13.7058Z"
      :fill="colorComputed"
    />
  </svg>
</template>

<script lang="ts" setup>
import { useSponsorIcon } from "./composables";

const props = defineProps({
  color: {
    type: String,
    default: '#474198',
  },
})

const {viewBox, colorComputed} = useSponsorIcon(props.color, 129, 29)
</script>
